package com.codedancer.campus.manager.api.user.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import lombok.Data;

@Data
@ApiModel(value = "用户修改Ro")
public class UserUpdateRo {

    @ApiModelProperty("用户昵称")
    @NotEmpty(message = "请输入昵称")
    private String nickName;

    @ApiModelProperty("用户学校uuid")
    @NotEmpty(message = "请选择用户学校")
    private String schoolUuid;

    @ApiModelProperty("性别")
    @NotNull(message = "请选择性别")
    private Integer sex;

    @ApiModelProperty("是否禁用")
    @NotNull(message = "请选择是否禁用")
    private Boolean disabled;

    @ApiModelProperty("背景图")
    @NotEmpty(message = "请上传背景图")
    private String backgroundImage;
}
